﻿using System;
using System.Windows.Forms;

namespace BpNTClassInternal
{
    class BpMessageBox
    {
        private const string rsCaption = "microtech´s COM cobra Connector";
        static public void ShowPanic(string aText)
        {
            MessageBox.Show(aText, rsCaption, MessageBoxButtons.OK, MessageBoxIcon.Warning);
        }
        
        static public void Show(string aText)
        {
            BpMessageBox.Show(aText, MessageBoxButtons.OK); 
        }

        static public DialogResult Show(string aText, MessageBoxButtons aButtons)
        {
            return MessageBox.Show(aText, rsCaption, aButtons, MessageBoxIcon.Information);
        }
    }
}